package com.cpl.presentation;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import com.cpl.common.pojo.Business;
import com.cpl.common.pojo.Customer;

@Controller
public class HomePageController {

	@RequestMapping
	protected String getHomePage(Model model) throws Exception {
		model.addAttribute("customer", new Customer());
		model.addAttribute("business", new Business());
		return "Hello";
	}

}
